testsuite: Add deprecation guards for ATK deprecations
authorBenjamin Otte <otte@redhat.com>
Mon, 16 Sep 2013 13:40:54 +0000 (15:40 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 16 Sep 2013 13:41:15 +0000 (15:41 +0200)
testsuite/a11y/text.c

index c18c823643e36f4ba18abb9935ebc7c11347f9b8..93c585317e60b1c9b4c0f07d61a82341be09637d 100644 (file)
@@ -828,6 +828,7 @@ test_words (GtkWidget *widget)
             continue;
         }
 
+      G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
       switch (expected[i].gravity)
         {
           case -1:
@@ -852,6 +853,7 @@ test_words (GtkWidget *widget)
             g_assert_not_reached ();
             break;
         }
+      G_GNUC_END_IGNORE_DEPRECATIONS;
 
       g_assert_cmpstr (word, ==, expected[i].word);
       g_assert_cmpint (start, ==, expected[i].start);